#Changelog
- #41 Added
resetMeta
to apply default tags in the resolve function of ui-router whendisableUpdate
istrue
. Thanks jacobcsmith
- #27 Added support for Webpack. Thanks @mcgilly17
- #11 Changed bower.json
main
path fromsrc/ngMeta.js
todist/ngMeta.js
since src is excluded from the Bower release as of v0.3.8
- #10
disableUpdate
option to disable $stateChangeSuccess updates for particular states (to be used in conjuction with state resolve functions)
- Method chaining for ngMeta and ngMetaProvider
ngMetaProvider .setDefaultTag('ogImage', 'http://url.com/picture.jpg') .setDefaultTag('ogSiteName', 'Site Name') .useTitleSuffix(true) .setDefaultTitleSuffix(' - Demcoach');
- Improved method documentation
- An error is thrown when
ngMeta.setTag()
is called withtitle
ortitleSuffix
. This is to force the use ofngMeta.setTitle()
for modifications of the title. - #6 Improved structure and examples in README
- #7 Unit tests are now in sync with the latest code
- Travis CI integration
- Problems updating package versions on both Bower and npm are fixed.
- An error is thrown when
ngMeta.setTitle()
orngMeta.setTag()
is used without initializing ngMeta in the run phase usingngMeta.init()
- #5 - ngMeta now supports AMD and CommonJS
- #4 -
ngMeta.setTitle
and route/statemeta
object support empty string ('') as the value oftitleSuffix