close ul tag (ng-repeat)

This commit is contained in:
Ben Sarmiento 2015-08-13 22:12:36 +08:00
parent f15c051d14
commit 1f2adf97e1
1 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,7 @@ layout: default
<li ng-repeat="phone in phones">
{{phone.name}}
</li>
</ul>
### Model (ng-model)
@ -54,7 +55,7 @@ layout: default
In controller you call with parameter and will use promises to return data from server.
App.controller('controllerName',
App.controller('controllerName',
function(NameService){
NameService.get()
.then(function(){})
@ -64,7 +65,7 @@ In controller you call with parameter and will use promises to return data from
App.directive('name', function(){
return {
template: '<h1>Hello</h1>'
template: '<h1>Hello</h1>'
}
});