Fix for bug #6

Fixed bug that was causing "10 $digest() iterations reached. Aborting!"
error to occur between route changes.