Skip to content

Instantly share code, notes, and snippets.

@chandermani
Last active December 19, 2015 18:38
Show Gist options
  • Save chandermani/6000081 to your computer and use it in GitHub Desktop.
Save chandermani/6000081 to your computer and use it in GitHub Desktop.
function SomeCtrl($scope) {
$scope.countries = ['can', 'usa', 'fra', 'jap'];
$scope.user = {name: "Evil Trout"};
$scope.age = 34;
// Our template now can render {{age}}, {{user.name}} and a list of countries!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment