$log.log()

log(); Write a log message

$log.info()

info(); Write an information message

$log.error()

error(); Write an error message

$log.debug()

debug(); Write a debug message

$locationProvider.html5Mode()

html5Mode([mode]); Parameters Param Type Details mode (optional) booleanObject If boolean, sets html5Mode.enabled to value. If object, sets enabled, requireBase and rewriteLinks to respective values. Supported properties: enabled â {boolean} â (default: false) If true, will rely on history.pushState to change urls where supported. Will fall back to hash-prefixed paths in browsers that do not support pushState. requireBase - {boolean} - (default: true) When html5Mode is enabled, spe

$locationProvider.hashPrefix()

hashPrefix([prefix]); Parameters Param Type Details prefix (optional) string Prefix for hash part (containing path and search) Returns * current value if used as getter or itself (chaining) if used as setter

$locationProvider

$location provider in module ng Use the $locationProvider to configure how the application deep linking paths are stored. Methods hashPrefix([prefix]); Parameters Param Type Details prefix (optional) string Prefix for hash part (containing path and search) Returns * current value if used as getter or itself (chaining) if used as setter html5Mode([mode]); Parameters Param Type Details mode (optional) booleanObject If boolean, sets html5Mode.enabled to value. If object,

$location.url()

url([url]); This method is getter / setter. Return url (e.g. /path?a=b#hash) when called without any parameter. Change path, search and hash, when called with parameter and return $location. // given url http://example.com/#/some/path?foo=bar&baz=xoxo var url = $location.url(); // => "/some/path?foo=bar&baz=xoxo" Parameters Param Type Details url (optional) string New url without base prefix (e.g. /path?a=b#hash) Returns string url

$location.state()

state([state]); This method is getter / setter. Return the history state object when called without any parameter. Change the history state object when called with one parameter and return $location. The state object is later passed to pushState or replaceState. NOTE: This method is supported only in HTML5 mode and only in browsers supporting the HTML5 History API (i.e. methods pushState and replaceState). If you need to support older browsers (like IE9 or Android < 4.0), don't use this met

$location.search()

search(search, [paramValue]); This method is getter / setter. Return search part (as object) of current url when called without any parameter. Change search part when called with parameter and return $location. // given url http://example.com/#/some/path?foo=bar&baz=xoxo var searchObject = $location.search(); // => {foo: 'bar', baz: 'xoxo'} // set foo to 'yipee' $location.search('foo', 'yipee'); // $location.search() => {foo: 'yipee', baz: 'xoxo'} Parameters Param Type Details se