<!DOCTYPE html> <html> <head> <title>AngularJS Example - Single Timer Example</title> <script src="../angular/angular.min.js"></script> <script src="../app/js/timer.js"></script> <script> angular.module('MyApp', ['timer']); function MyAppController($scope) { $scope.timerRunning = true; $scope.startTimer = function (){ $scope.$broadcast('timer-start'); $scope.timerRunning = true; }; $scope.stopTime