Directive template is not loaded

68 views
Skip to first unread message

Adrian Ferreres

unread,
Jan 7, 2014, 6:44:44 AM1/7/14
to ang...@googlegroups.com

Hello:

I am new with AngularJs and, to learn how to use it, I am trying to build a little website. In this web I created 3 tags elements:

  • ·         A menu bar
  • ·         A littler content
  • ·         A modal window

This is the link to my code: https://github.com/ardiadrianadri/angular-bootstrap/blob/master/WebContent/js/controllerMainFrame.js

The problem is that the two first elements work fine but the third not. In fact, the template of the modal window does not arrive to load in the html code and I do not know why

Can someone help me?

Thank you in advance

Sander Elias

unread,
Jan 7, 2014, 6:48:01 AM1/7/14
to ang...@googlegroups.com
Hi,
Your code looks fine on first glance, however without the rest, I can't really tell what is happening.
If you create a plunk or fiddle showing your problem, we can help you more.

Regards
Sander

Adrian Ferreres

unread,
Jan 7, 2014, 7:17:08 AM1/7/14
to ang...@googlegroups.com
Hello Sanders:

  First; thank you to answer as soon.
 
  I made a plunk with my code but it works less than my local version. I think the problem is in the library references because I don't know why the same code works in my local server and it does not  in plunk. This is the link: http://plnkr.co/edit/TxiUaV?p=info. Feel free to do with it what you want.

 However, you can access to all my file from github, too. In the link https://github.com/ardiadrianadri/angular-bootstrap you can access to the main directory of my code and watch all the files inside of their directories. You can also download the code and run it in your local if you wish.

Regards

 


2014/1/7 Sander Elias <sande...@gmail.com>

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/0KP34Ho10b8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Sander Elias

unread,
Jan 7, 2014, 8:26:25 AM1/7/14
to ang...@googlegroups.com
Hi Adrian,

Today time doesn't permit me to do that. (you know, bills to pay etc.. ;) ) 
I took a look at your plunk, and it seems to be missing something from carbonads.

If I run into a moment of spare time, I will take a deeper look into it! 

Regards
Sander

Adrian Ferreres

unread,
Jan 8, 2014, 3:35:27 AM1/8/14
to ang...@googlegroups.com

Hello Sander:

I found the problem… it is a bit embarrassing. It was a spelling error; I wrote templateUrl where I should have written templateUrl.

Thank you very much for your time and I am sorry for this stupid mistake.

Adrian Ferreres

Sander Elias

unread,
Jan 8, 2014, 4:22:42 AM1/8/14
to ang...@googlegroups.com
Hi Adrian,

We all make those mistakes :)

Glad you found it!

Regards
Sander
Reply all
Reply to author
Forward
0 new messages