Releases: muzammilkm/jq-router
Releases · muzammilkm/jq-router
Version 4.6.1
bug fix in dynamic template not rendering.
Version 4.6.0
Added ability for template url construction with route params(dynamic template url based on params)
routes['userDetail'] = {
url: '#/users/:userId',
templateUrl: 'users.php?userId=:userId',
};
Version 4.5.1
Bug fix href is not able generate url
Version 4.5.0
Added ability to control the caching of template url, allowing template url set to server side pages
Version 4.3.0
Bug fixes to resolve multiple nested routes
Version 4.0.0
Added two new events
Added resolve property to route for defer the execution of the route.
Once the resolve is resolved then route is rendered.
resolve can be a single deferred function or array of deferred functions
routes['home'] = {
url: '#/',
abstract: true,
resolve: [], // can be object or array
templateUrl:
controller: ''
};
Version 3.5.0
Extending route object to retain route data
Version 3.3.0
Introduce param service to passing params with routes
Version 3.1.0
Added trailing slash to url if the url is not file.
Version 3.0.0
Added view destroyed events
Enabled all events subscription.