Creates a generator function() {} to be used within an angular.module.factory(name, ...) call.
Produces a javascript object with ajax functions as keys.
Produces a javascript object with ajax functions as keys. e.g.
function(dependencies) { get: function() { doAjaxStuff(); } post: function(string) { doAjaxStuff(); } }
This exists to wrap the functions passed to defModelToAny
/jsonCall
and handle the type contravariance
appropriately.
This exists to wrap the functions passed to defModelToAny
/jsonCall
and handle the type contravariance
appropriately. Users of lift-ng needn't even know it exists.
See http://stackoverflow.com/questions/31907701/why-does-this-scala-function-compile-when-the-argument-does-not-conform-to-the-t/31907828#answer-31907813
This exists to wrap the functions passed to defModelToFutureAny
/future
and handle the type contravariance
appropriately.
This exists to wrap the functions passed to defModelToFutureAny
/future
and handle the type contravariance
appropriately. Users of lift-ng needn't even know it exists.
See http://stackoverflow.com/questions/31907701/why-does-this-scala-function-compile-when-the-argument-does-not-conform-to-the-t/31907828#answer-31907813
Builder for Angular modules.
A model to be sent from angularjs as json, to lift deserialized into this class.
Used to resolve or reject a javascript angular $q promise.
Maps the response passed into the ajax calls into something that can be passed into promise.resolve(data) or promise.reject(reason).
Maps an api result to a Promise object that will be used to fulfill the javascript promise object.
Sets up a two-way scope variable binding by dropping in two binding actors as the last Elem/Node children in the passed NodeSeq
Sends any of our commands with all of the early-arrival retry mechanism packaged up
Sends any of our commands with all of the early-arrival retry mechanism packaged up
Implementation of dispatch to allow us to add ourselves as a snippet
Implementation of dispatch to allow us to add ourselves as a snippet
Init function to be called in Boot
Init function to be called in Boot
true to include
net.liftweb.actor.LAFuture
the CSS selector to find your app in the page
true to include the prerequisite liftproxy.js file, false if you plan to include it yourself.
true to include angular.js and modules found in angularjs webjar.
list of additional angularjs modules to include in the page.
true to include angular-csp.css found in angularjs webjar.
true to preserve the order of ajax service calls even in the event of server communication failures.
A factory builder that can create a javascript object full of ajax calls.
Renders all the modules that have been added to the RequestVar.
Registers the module with the RequestVar so that it may be rendered in base.html.
Transparently wraps NgModel => Box[Any]
functions appropriately for defModelToAny
/jsonCall
Transparently wraps NgModel => LAFuture[Box[Any]]
functions appropriately for defModelToFutureAny
Primary lift-ng module