unbreak routing from piece view

Injecting anything depending on Angular routing will mess up our Rails routing.