[AngularJS] Wait for http.post to return Cookie.set

2017-07-11 Thread Zlatko Đurić
Well it's not"after the map" that's the problem here, it's"after the map has resolved". So in your use case when you need to call getRefresh, you would have to chain the two calls; first, call the refresh token endpoint, and when it comes back, than you can use your cookie. So your "resource"

[AngularJS] Re: WebComponent in Angular

2017-07-11 Thread Sander Elias
Hi Nitin, Well, it probably won't make it into version 5, but this is something that's being explored. There are already working prototype custom elements that were built with angular. I'm not too sure on the by default part of it. The current issue with custom elements is that it is not

[AngularJS] WebComponent in Angular

2017-07-11 Thread Nitin Jain
Hello, I am starting a new project and evaluating Angular as one of the framework for frontend. I found there is a shift in design approaches where we are now moving from MVC world to Component oriented ecosystem. The same design can be found in latest Angular version as well. Angular

[AngularJS] Access Sharepoint 2016 REST API Data from Cordova Angular Application

2017-07-11 Thread Pardhu G
Hi All, I want to get/post data from SharePoint REST API to the angular application. The Cordova angular application needs to support both iOS and Android platforms. In iOS native platform I am able to connect to SharePoint services using the below process. 1. Open SharePoint site URL

[AngularJS] Access Sharepoint 2016 REST API Data from Cordova Angular Application

2017-07-11 Thread Pardhu G
Hi All, I want to get/post data from SharePoint REST API to the angular application. The Cordova angular application needs to support both iOS and Android platforms. Please guide me on how to authenticate and get/post data using share point REST API. Thanks in advance. -- You received

[AngularJS] Re: Angular 2 and MongoDB, How can I use it?

2017-07-11 Thread Tito
here is a very simple app I wrote that uses MongoDb with express.js in the middle https://github.com/yosiasz/d3-node-express-mongodb On Thursday, July 6, 2017 at 1:47:02 PM UTC-7, Sykes Creatives wrote: > > I want to implement a NoSQL type database for my web apps. I was using > Firebase but

Re: [AngularJS] Re: Looking for a HTML layout tool

2017-07-11 Thread Reza Razavipour
Sorry about that folks, I just found what I was looking for. Thank you all. Regards, Reza On Tue, Jul 11, 2017 at 7:17 AM, Reza Razavipour wrote: > not seeing if the flex-layout works with SystemJS. Can anyone tell if it > does? > > Regards, > Reza > > On Mon, Jul

Re: [AngularJS] Re: Looking for a HTML layout tool

2017-07-11 Thread Reza Razavipour
not seeing if the flex-layout works with SystemJS. Can anyone tell if it does? Regards, Reza On Mon, Jul 10, 2017 at 9:53 PM, Sander Elias wrote: > Hi Reza, > > html/css will work fine. You might want to use the Angular Flex-layout >

[AngularJS] Re: Angular 4 guide PDF

2017-07-11 Thread Sander Elias
Hi Yash, I just love boolean questions ☺ No, there is none. I can add to that that there probably will never be an official one. However, if it is so you can put it on a device, for easy access, on most tablets and phones the entire guide will work offline. It will keep the pages you have

[AngularJS] Wait for http.post to return Cookie.set

2017-07-11 Thread Tommaso Betti
Hi everyone. I'm trying to giving synchronous behavior to my authentication workflow in angular 2 but i can't resolve. Here's the code: saveToken(token){ debugger; var expireDate = 0.0003472; //var expireDate = token.expires_in; Cookie.set("access_token", token.access_token,

[AngularJS] Angular 4 guide PDF

2017-07-11 Thread Yash Ganthe
Hi, The guide for Angular 4 is available online at https://angular.io/guide/quickstart. Is there a PDF version of this guide? Regards, Yash -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group

[AngularJS] Re: Is there a way to use svg iframe in angular4

2017-07-11 Thread Sander Elias
Hmm, That's an entirely different question. As long as it's in the same origin, you can do something like: In your component, grab the myFrame by using viewChild, and then: if (myFrame.nativeElement) { //shielded for non-browser enviroments const iframe = myFrame.nativeElement const

[AngularJS] Re: Is there a way to use svg iframe in angular4

2017-07-11 Thread Stéphane Ancelot
I may have badly formatted my question . I want to acces an svg file embedded in a regular iframe (classic !) Le lundi 10 juillet 2017 14:59:43 UTC+2, Stéphane Ancelot a écrit : > > Hi, > I was wondering which is the right way to embed an svg iframe file in > order to manipulate it's