Skip to content

Template path not correct when installing from bower #7

Description

@felixcollins

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions