Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template path not correct when installing from bower #7

Open
felixcollins opened this issue Feb 9, 2015 · 0 comments
Open

Template path not correct when installing from bower #7

felixcollins opened this issue Feb 9, 2015 · 0 comments

Comments

@felixcollins
Copy link

The template installs in bower_components\ez-timepicker\src\template
In the directive it is referred to with no path.

.directive('ezTimepicker', ['EzTimepickerConfig', function(EzTimepickerConfig) {
  return {
        restrict: 'EA',
    replace: true,
    transclude: 'element',
    templateUrl: 'ez-timepicker.html',
......

This at run time resolves to the root of the application.

"NetworkError: 404 Not Found - http://localhost:9900/ez-timepicker.html"

Forgive me in advance if I'm getting something wrong...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant