Joined March 2014
·

Vinicius da Costa Pires

Ellmaq
·
Brasília
·
·
·

This is good! Many other solutions that I saw involved changing the title manually in controllers, which is acceptable if you have 3 or 5 controllers, not up to 20 or more... Making the title an attribute of the route was certainly the most elegant way to go. I'm just concerned about having to bind the title attribute manually to the $rootScope on $routeChangeSuccess. I'll try to find a yet cleaner way and post here :) Um abraço!

Achievements
49 Karma
0 Total ProTip Views