[AngularJS] Re: Unexpected token < - missing file lib/angular2-modal/plugins/bootstrap.js

2017-06-13 Thread Sander Elias
Probably one of your templates has a syntax error. Try the AOT compiler, it gives a more clear error during compilation. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop

[AngularJS] Unexpected token < - missing file lib/angular2-modal/plugins/bootstrap.js

2017-06-13 Thread Navaneetha Krishnan S
I am working on angular2-modal popup, after compiling when I try to launch the application I am getting this error in browser console, Error: SyntaxError: Unexpected token < at eval () at Object.eval (http://localhost:49928/app/AppModule.js:13:19) at eval (http://localho

[AngularJS] Re: How to use data from controller in directive

2017-06-13 Thread Tito
ok moving away from $scope immediately and going for components. On Monday, June 12, 2017 at 9:20:13 PM UTC-7, Sander Elias wrote: > > Hi Tito, > > There is your answer al along. However, you still shouldn't be using > $scope >

[AngularJS] Re: Angular: Specify xml namespace for component's selector (router-outlet inside root)

2017-06-13 Thread Sander Elias
Hi Joel, I answered your question on git also. I don't think this is possible. The problem is that the SVG-tree is XML, and it doesn't support unknown elements. that means if you put the ngOutlet in there, the SVG tree w

[AngularJS] Need Help Badly - AngularJS Load late on Mozila firefox, plz help

2017-06-13 Thread Tonmoy Rudra
When i load my Sign In page,1st time it load all thing , which i also hide with ng-show/ng-hide. after 1 or 2 sec its work correctly. so my question is, why is this happen only Mozilla Firefox . Google Chorme and Edge browser are ok. problem only create Mozilla Firefox Plz help.. i can not

[AngularJS] send email using angulrjs using php or Nodejs

2017-06-13 Thread Raakesh Bandi
Hi All, I have created a contact form where i have used angularJs for getting data from form in to objects..and i am trying to send this captured data from input fields and text-area to a particular email..using some simple PHP..logic to send emails.. how to communicate between PHP and angular

[AngularJS] Re: How to prove that service and factory is singleton

2017-06-13 Thread Sander Elias
Hi Tripid, Grab a reference to it in different locations in your code and compare those with === Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from

[AngularJS] Why people prefer factory to share data between controllers

2017-06-13 Thread Tridip Bhattacharjee
i am new in angular. so trying to know how to share data between two controller and searched google. i visited few pages and found most of the time people use factory to share data. i just like to know can't we do it by service instead of factory ? please tell me few reason why people prefer

[AngularJS] How do I define constructor in service and factory in Angular?

2017-06-13 Thread Tridip Bhattacharjee
i am little bit familiar with angular. still on learning process. working with ng version 1.4.8. so i like to know how could i define constructor function in service and factory. here is one sample service .now tell me how to define constructor in service or factory ? angular.module('myAp

[AngularJS] How to prove that service and factory is singleton

2017-06-13 Thread Tridip Bhattacharjee
i search a lot for example which i can run and see that angular service and factory is singleton in nature because i heard many time that these are singleton in nature when i read many write up on difference between service and factory but none one show this that these are singleton with exam

[AngularJS] Re: Unexpected token < in loading angular2-modal popup

2017-06-13 Thread Sander Elias
Can you replicate this issue in a plunk? Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com