Skip to content
This repository has been archived by the owner. It is now read-only.

Issue with alerts #570

Closed
ctjhoa opened this issue Jun 26, 2013 · 6 comments
Closed

Issue with alerts #570

ctjhoa opened this issue Jun 26, 2013 · 6 comments

Comments

@ctjhoa
Copy link

ctjhoa commented Jun 26, 2013

Hi guys,

I make an angular app with yeoman. All my modules are installed by bower.

`--> bower list
├── angular#1.0.7
├─┬ angular-bootstrap#0.4.0
├─┬ angular-cookies#1.0.7
├── angular-grid#2.0.6
├─┬ angular-mocks#1.0.7
├─┬ angular-resource#1.0.7
├─┬ angular-sanitize#1.0.7
├─┬ angular-scenario#1.0.7
├─┬ bootstrap#2.3.2
├── es5-shim#2.1.0
├─┬ jquery-ui#1.10.3
├── js-base64#2.1.2
├── json3#3.2.5
├── lodash#1.3.1
├── plupload#1.5.7
├── requirejs#2.1.6
└─┬ restangular#1.0.2

Others components (modals, collapse etc ..) are ok but I've got an issue with alerts and I don't understand why:

Error: Failed to load template: template/alert/alert.html

This is the associate code:

<alert type="error">foobar</alert>

Do you know if I missed something? or if it's a bug?

Thanks

@ctjhoa
Copy link
Author

ctjhoa commented Jun 26, 2013

Ok i'm a idiot I forgot to include ��ui-bootstrap-tpls file.

@ctjhoa ctjhoa closed this as completed Jun 26, 2013
@naitsirch
Copy link

naitsirch commented Jul 10, 2013

@Azergty00 I am new to Angular and I had the same problem. Thanks for your answer. I cannot find any hint on http://angular-ui.github.io/bootstrap/ that the ui-bootstrap-tpls file has to be included for the alerts. Maybe that should be added?

@plwalters
Copy link

plwalters commented Aug 13, 2013

I am just getting started with the Angular Bootstrap-ui and ran into the same problem. The docs really need to be more self explanatory...

@sur
Copy link

sur commented Oct 27, 2013

including ui-bootstrap-tpls worked. Thanks.

@kwisatz
Copy link

kwisatz commented May 27, 2015

👍 for an explicit note of this in the docs

@rvanbaalen
Copy link
Contributor

rvanbaalen commented May 27, 2015

Its already there @kwisatz. See demo / docs first paragraphs. And the wiki for that matter.

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

No branches or pull requests

6 participants