register(name, factory); Parameters Param
directive in module ng
service in module ngCookies
html5Mode([mode]); Parameters Param Type
$isEmpty(value); This is called when we need to determine if the value of an input is empty. For instance, the required directive
config(configFn); Use this method to register work which needs to be performed on module loading. For more about how to configure services
Installation First include angular-mocks.js in your HTML: <script
service in module ngRoute
Page 47 of 55