<!DOCTYPE html>
<html ng-app="APP"> <head> <meta charset="UTF-8"> <title>angular-timer example</title> </head> <body> <timer interval="1000">{{hours}} hours, {{minutes}} minutes, {{seconds}} seconds. <script src="timer.js"></script> <script> angular.module("APP",['timer']); </script> </body> </html> |