all files / app/main/components/material-docs/demo-partials/toolbar/demoScrollShrink/ script.js

16.67% Statements 1/6
100% Branches 0/0
0% Functions 0/2
16.67% Lines 1/6
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19                                    
angular.module('toolbarDemo2', ['ngMaterial'])
 
.controller('TitleController', function($scope) {
  $scope.title = 'My App Title';
})
.controller('AppCtrl', function($scope) {
  var imagePath = 'assets/angular-material-assets/img/list/60.jpeg';
 
  $scope.todos = [];
  for (var i = 0; i < 15; i++) {
    $scope.todos.push({
      face: imagePath,
      what: "Brunch this weekend?",
      who: "Min Li Chan",
      notes: "I'll be in your neighborhood doing errands."
    });
  }
});