fix(directives): remove the use of $location

We use RELATIVE_TEMPLATE_PATH to refer to template in testing and use BOWER_PATH in production.
In BOWER_PATH we will always refer to the / path, so we don't need to maintain the absolute url path to the template when this module running in production.
Merge branch 'fix-path'