compact / angular-bootstrap-lightbox

An AngularJS lightbox built using UI Bootstrap Modal.
http://compact.github.io/angular-bootstrap-lightbox/
MIT License
306 stars 134 forks source link

Why is it asking for a different directive template? #20

Closed dsmontoya closed 9 years ago

dsmontoya commented 9 years ago

I have a directive I made called Rating. Only when I load the bootstrapLightbox module, get:

GET http://localhost:8000/app/template/rating/rating.html 404 (Not Found) Error: [$compile:tpload] Failed to load template: template/rating/rating.html (HTTP status: 404 Not Found)

A that's not the templateUrl for that directive.

Then, when I satisfy this request I get:

Error: [$compile:tplrt] Template for directive 'rating' must have exactly one root element. template/rating/rating.html

I have other directives in the same view and before rating and they are still working.

dsmontoya commented 9 years ago

It is a conflict with ui-bootstrap.js that's using a directive called like that. Sorry!