Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <script>
  2. angular.module('example', [])
  3. .controller('ExampleController', ['$scope', function($scope) {
  4. $scope.heading = 'Some Value';
  5. $scope.complexModel = {...}
  6. }]);
  7. </script>
  8. <div ng-controller="ExampleController">
  9. <h1>{{ heading }}</h1>
  10. <div ng-some-directive='complexModel.to.long.really.annoying'>
  11. {{ variable }} // Actually coming from complexModel.to.long.really.annoying.variable
  12. </div>
  13. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement