Reorganised the code and made the directives work and destroy correctly
Looking at the ui-router
Removed no longer needed comment