ng-click is not working after updating to iron-router.
After updating to iron-router the ng-click on the anchor tag is not working.

Here is my router: Router.route('/login', { controller: 'LoginController', action: 'login' });
Router.route('/home', { controller: 'HomeController', action: 'home' });
if (Meteor.isClient) { ApplicationController = RouteController.extend({ onBeforeAction: function () { console.log('app before hook!'); this.next(); }, action: function () { console.log('this should be overridden!'); } });
Router.onAfterAction(function (req, res, next) {
Tracker.afterFlush(function () {
angular.element(document).injector().invoke(['$compile', '$document', '$rootScope',
function ($compile, $document, $rootScope) {
$compile($document)($rootScope);
if (!$rootScope.$$phase)
$rootScope.$apply();
}
]);
});
});
LoginController = ApplicationController.extend({
login: function () {
this.render('login');
}
});
HomeController = ApplicationController.extend({
home: function () {
this.render('home');
}
});
same question on stackoverflow:http://stackoverflow.com/questions/27513506/ng-click-is-not-working-after-updating-to-iron-router
Is this working, without iron-router-progress?