Last active
August 29, 2015 14:09
-
-
Save garciadanny/b5e238f4031648647c24 to your computer and use it in GitHub Desktop.
BlogPost: AngularJS Custom Directives
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myApp = angular.module('myApp', ['ui.utils']); | |
myApp.controller('myController', ['$scope', function($scope) { | |
$scope.profiles = [ | |
{ | |
name: 'Profile 1', | |
city: 'Denver', | |
status: 'Active' | |
}, | |
{ | |
name: 'Profile 2', | |
city: 'New York', | |
status: 'Active' | |
}, | |
{ | |
name: 'Profile 3', | |
city: 'Orlando', | |
status: 'Inactive' | |
}, | |
. | |
. | |
. | |
] | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment