- Added thorough inline documentation, migrated to jasmine 2.0 and added tests against angular 1.5.0 (thanks to wingedfox).
- Fixed memory leak with watchers are not torn down properly on route change (#106, thanks to jgrund).
- Changed
$routeSegmentProvider.when
signature towhen(path, name, route)
which enables to extend the route information object with any custom properties, likereloadOnSearch
orcaseInsensitiveMatch
(425ac) thanks to krmarien. - Published to npm repository.
- Refactored render directive using modern
$transclude
cloning mechanism instead of manual cloning (32dea). ATTENTION: AngularJS 1.1.x is no longer supported due to this fix! - Fixed a bug with a segment placed inside
ng-if
(32dea). - Fixed a bug with camelCasing default segment names (74b64).
- Due to angular.js@fca6be71, filters are now flagged as
$stateful=true
for compatibility reasons (03f8425).
- Fixed a case when
watcher
is provided in annotated array form rather than as a function (84602).
- New function
$routeSegment.getSegmentUrl(segmentName, routeParams)
which can return URL for the given segment (2b255). - Some handy filters like
routeSegmentUrl
,routeSegmentEqualsTo
, etc (2b255). - New segment config option
default:true
which can be set if this child segment should be loaded by default when no child segment is specified in the route (2eee0). template
andtemplateUrl
can be set as injectable functions (8d1ac).
See updated docs and demo example for usage.
- Fixed a bug when reloading a segment does not recover after the resolving error has gone (ed11d).