Hi Mo, 

We used the MEAN Book for the application, and on the tutorials, it said 
that we should use the index.ejs file. We just tried to keep the tutorial 
samples and used them on our web app. 

Steph

On Friday, May 22, 2015 at 11:02:00 PM UTC+8, Mo Moadeli (CREDACIOUS) wrote:
>
> By 'EJS', do you mean 'embedded javascript'?  If so, EJS is somewhat 
> redundant if you use AngularJS and I question why you use it in the first 
> place. Are you transitioning from a legacy system or...? Please clarify.
>
> On Thursday, May 21, 2015 at 9:44:02 PM UTC-4, Steph Infante wrote:
>>
>>
>> Hi Guys,
>>
>> So we created an EJS file that contains a <div ng-view></div> that points 
>> to another html file.
>> This html file contains the following:
>>
>>
>> <div ng-controller="IssuesController">
>>     <ng-include 
>> src="'example/views/dashboard.client.view.html'"></ng-include>
>>
>>     <div data-ng-show="authentication.user">
>>
>>         <h1>Hello <span 
>> data-ng-bind="authentication.user.fullName"></span></h1>
>>         <div id="calendar"></div>
>>
>>     </div>
>> </div>
>>
>>
>>
>> Question: How come this <div id="calendar"></div> does not show?
>>
>>
>> When trying it on the EJS file, it works but the problem is, it appears to 
>> all the pages of the application.
>>
>>
>>
>> Thanks,
>>
>> Steph
>>
>>

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