Makes 170g dough (enough for one 30 cm pizza)
- 1 teaspoon dried yeast
- 1 teaspoon salt
- 100 ml warm water
- 2 teaspoons olive oil, plus extra, for greasing
- 160 g plain (all-purpose) flour, sifted
# Set up the application | |
app = angular.module('ratingRampage', []) | |
# This is an injectable property | |
app.value 'Authentication', {} | |
# Add a directive so that if we see a csrf-token attribute, this gets set | |
app.directive 'csrfToken', (Authentication) -> | |
(scope, element, attrs) -> | |
Authentication.csrf_token = attrs.csrfToken |
# So this is in my controller: | |
@items = Dir.glob("views/*/*").map do |item| | |
item.gsub(/views\/.+\/(.+).haml/, '\1') | |
end.select do |item| | |
!item.match(/^hide-/) && x != "index") | |
end | |
# Its contents look like this: | |