added foundation-angular

This commit is contained in:
didier amyot committed 2014-12-28 06:33:08 -08:00
1 parent f6ec518814
commit 72c8643e4e
7 files changed
+70 -44

No files matched your search

+26 -2
View File
@@ -1,6 +1,30 @@
define ["app"], (app) ->
app.controller "MyCtrl2", ($scope) ->
$scope.message = "Message from MyCtrl2"
return
$scope.oneAtATime = true
$scope.groups = [
{
title: "Dynamic Group Header - 1"
content: "Dynamic Group Body - 1"
}
{
title: "Dynamic Group Header - 2"
content: "Dynamic Group Body - 2"
}
]
return
$scope.message = "Message from MyCtrl2"
$scope.items = [
"Item 1"
"Item 2"
"Item 3"
]
$scope.addItem = ->
newItemNo = $scope.items.length + 1
$scope.items.push("Item " + newItemNo)
return
return