I a directive the ngModule to get around ngApp's limitations. You can find 
it 
at: 
http://www.simplygoodcode.com/2014/04/angularjs-getting-around-ngapp-limitations-with-ngmodule/

It basically functions like ngApp and calls angular.bootstrap() behind the 
scenes.

You can make an argument whether this is the right thing to do, or whether 
ngApp's limitations are just good design. 

I think one argument against ngApp's limitations is the case where a module 
only contains directives for front end purposes, in which case why should 
you have to included it as reference from within your JavaScript.

On Saturday, January 4, 2014 1:25:15 AM UTC-5, Archana wrote:
>
> Thank you for your reply!!! ya i'm just refering i have not created. here 
> is my plunker link 
> (*here*<http://www.google.com/url?q=http%3A%2F%2Fplnkr.co%2Fedit%2Fi1ZwRP1CvgKKfXvr1o4h%3Fp%3Dcatalogue&sa=D&sntz=1&usg=AFQjCNHdKDoZX3tEq48MmRjBqrs2TO6K6Q>
>  ). 
> example.js,example.html and index .html. these three are my files. I'm 
> tryin to write code for datepicker and i know just 20% about angular js. 
>
> On Friday, January 3, 2014 7:31:02 PM UTC+5:30, Alon Nisser wrote:
>>
>> Did you actually create the ```dashboardApp``` module or are you just 
>> referencing it without creating it? what exactly isn't working.  please 
>> provide a plunker/fiddle so we can look at actual code and trace problems
>>
>>
>>
>> Twitter:@alonisser <https://twitter.com/alonisser>
>> LinkedIn Profile <http://www.linkedin.com/in/alonisser>
>> Facebook <https://www.facebook.com/alonisser>
>> *Tech blog:*4p-tech.co.il/blog
>> *Personal Blog:*degeladom.wordpress.com
>> Tel:972-54-6734469
>>
>>
>> On Fri, Jan 3, 2014 at 7:49 AM, Archana <[email protected]> wrote:
>>
>>>
>>>
>>> This is my example.js file. now m trying to write code for datepicker 
>>>> but m not getting.please do the needful.Thanks
>>>
>>>  
>>> 'use strict';
>>>
>>> angular.module('dashboardApp'.controller('exampleCtrl', function 
>>> ($scope) {
>>>     
>>>     
>>> });
>>>      
>>>
>>> -- 
>>> 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/j7X4-qRKaM0/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/angular.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to