Resolving AngularJS executing controller twice issue
If you've been developing with AngularJS for some time then you may have unwittingly come across the following issue: your controller is executed twice.
Seems like one of those coding problems that shouldn't exist but fixing this is, thankfully, quite simple...