Skip to content

Latest commit

 

History

History
81 lines (50 loc) · 3.34 KB

CHANGELOG.md

File metadata and controls

81 lines (50 loc) · 3.34 KB

#Changelog

Features

  • #41 Added resetMeta to apply default tags in the resolve function of ui-router when disableUpdate is true. Thanks jacobcsmith
Bugfixes
Bugfixes
Features
  • #14 Inherited meta data in child states of ui-router. Thanks @martyzz1
Features
  • #15 New 'setDefaultTag` function to dynamically update default values (Thanks @xon88)
Bugfixes
  • #11 Changed bower.json main path from src/ngMeta.js to dist/ngMeta.js since src is excluded from the Bower release as of v0.3.8
Features
  • #10 disableUpdate option to disable $stateChangeSuccess updates for particular states (to be used in conjuction with state resolve functions)
Features
  • 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
Features
  • An error is thrown when ngMeta.setTag() is called with title or titleSuffix. This is to force the use of ngMeta.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
Bugfixes
  • Problems updating package versions on both Bower and npm are fixed.
Features
  • An error is thrown when ngMeta.setTitle() or ngMeta.setTag() is used without initializing ngMeta in the run phase using ngMeta.init()
Features
  • #5 - ngMeta now supports AMD and CommonJS
Bugfixes
  • #4 - ngMeta.setTitle and route/state meta object support empty string ('') as the value of titleSuffix