New version with jshint workaround
Fixing bug with links and directive when running in mobile device