[AngularJS] Angular Promise

2015-06-02 Thread Greg
Hi, I make some test on the new router and try to make dynamic redirect based on a promise but I am not able to do it. I have a service file with the following code which return a service with some data coming from a CRUD API // app.services.js (function() { 'use strict'; angular .mo

[AngularJS] Angular promise and return data

2015-03-16 Thread KJ
Hi, I have a string returned from my wcf service whether some save was done or not. [OperationContract][WebInvoke(Method = WebRequestMethods.Http.Put, UriTemplate = "/setvalue?id={id} public string MyMethod(string id) { string status = "success"; //db call here -- insert data and return s