Re: [AngularJS] Re: Twillio video session with angular 4

2017-08-28 Thread Vishnu Bidarakundi
If you have any reference or example please share the link. On Tue, Aug 29, 2017 at 8:01 AM, Sander Elias wrote: > Hi Vishnu, > > Just pull in the library you need, and start using it. it's mostly > self-contained. (as far as i can see from quickly eye-balling!) Not sure

[AngularJS] Re: Creating components at runtime

2017-08-28 Thread Sander Elias
Hi Reza, Like this , or this ? Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this

[AngularJS] Re: Twillio video session with angular 4

2017-08-28 Thread Sander Elias
Hi Vishnu, Just pull in the library you need, and start using it. it's mostly self-contained. (as far as i can see from quickly eye-balling!) Not sure if it jQuery is demand for the demo, or for twillio itself though. Regards Sander -- You received this message because you are subscribed to

[AngularJS] Creating components at runtime

2017-08-28 Thread Reza Razavipour
I have the need to instantiate components dynamically and pass parameters to the constructor. For instance, depending on run time conditions, I need to instantiate a grid or a bar graph and pass in the model to be rendered. Can someone point me in the right direction please? -- You received

[AngularJS] Twillio video session with angular 4

2017-08-28 Thread Vishnu Bidarakundi
Hi I have tried with this quick start example https://github.com/twilio/video-quickstart-js and it is working fine, now how can i integrate this code with angular 4? Regards Vishnu -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS

Re: [AngularJS] Angular get Request 401 error

2017-08-28 Thread 'Lucas Lacroix' via Angular and AngularJS discussion
This error has nothing to do with your client application at all. This is your API server - it does not return the appropriate CORS related headers that would instruct the browser to allow your request. It looks like you are sending the CORS headers on a GET request, which will not work. The

[AngularJS] Re: Angular 4 get request on an REST API

2017-08-28 Thread Sander Elias
Hi Joel, This is a CORS issue and needs to be solved on your server. Not an angular specific issue, but a security measure that is taken by browsers. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS

[AngularJS] Sorry for the other posts. I thought my stuff wasnt posting and the "empty" ones were just for testing.

2017-08-28 Thread Joel Suter
Sorry, Pls let the others go online. -- 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. To post to this

[AngularJS] Angular 4 get request on an REST API

2017-08-28 Thread Joel Suter
Hello guys I want to make a get request on an REST API . I am sending this get request: return this.http.get('http://localhost:7990/bitbucket/rest/project/1.0/project/second', { "headers" : new HttpHeaders().append('Authorization', 'Basic YWRtaW46YWRtaW4=') }).subscribe(data => {

[AngularJS] Angular get Request 401 error

2017-08-28 Thread Joel Suter
Hello guys I am making a simple get request on my angular 4 application. I am getting this error: "Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not

[AngularJS] Re: Angular inside maven war

2017-08-28 Thread Sander Elias
Hi Gian, Treat your angular project as a static website. For deployment, there is no difference between a static site and an Angular app. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from

[AngularJS] angularjs md-datepicker is not showing correct Date.

2017-08-28 Thread mmukul ssingh
md-datepicker is giving 1 day behind in model object . how to fix that issue ??? -- 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

[AngularJS] Angular inside maven war

2017-08-28 Thread Gian Marco Gallo
Hi guys I'm becoming a bit crazy because I can't find a guide to setup angular 4 in a war project built with maven. Any help? This request is because I need to run my project under wildfly server Thanks in advance -- You received this message because you are subscribed to the Google Groups

[AngularJS] Protractor 5.1.2 + Jasmine 2 - Header passing issue for UI automation

2017-08-28 Thread Nitin SURYAVANSHI
I have a requirement to add headers to every request on UI action. so be it opening home page, click on buttons or links I need to add few headers. I need to do this in protractor so that I can automate the functionality. Can you please give me some example on how I can do this? I am using

[AngularJS] Re: Check empty array exists or parse JSON into array

2017-08-28 Thread Sander Elias
Hi Chiholiu, class SomeComponent{ chart = JSON.parse(localStorage.getItem('cartItems') || []; ... } 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