brandonkboswell / angularbooter Goto Github PK
View Code? Open in Web Editor NEWA Simple Booter For Multipage Angular Sites.
A Simple Booter For Multipage Angular Sites.
myApp = new angularBooter('myApp');
shoud be Angular (capital A)
I am trying to use AngularStrap with AngularBooter. This requires to inject a module into the application, like so:
var app = angular.module('myApp', ['$strap.directives']);
How can I make use of AngularStrap with AngularBooter? Can I achieve this by registering a configuration?
myApp.config.push([function() { console.log('config 2'); }]);
Can you verify AngularBooter works for you on Angular 1.3.2? I get the following
Booted Dependencies [] angularBooter.js?ver=1415908681:16
Booted Services Object {} angularBooter.js?ver=1415908681:23
Booted Directives Object {showHide: Array[1]} angularBooter.js?ver=1415908681:30
Booted Controllers Object {presentationCtrl: function} angularBooter.js?ver=1415908681:31
Booted Configs [] angularBooter.js?ver=1415908681:37
Booted Filters Object {} angularBooter.js?ver=1415908681:44
Error: [jqLite:nosel] http://errors.angularjs.org/1.3.2/jqLite/nosel
at Error (native)
at http://salesfu.dev/lib/bower_components/angular/angular.min.js?ver=1415908681:6:416
at Object.S [as element] (http://salesfu.dev/lib/bower_components/angular/angular.min.js?ver=1415908681:27:75)
at http://salesfu.dev/selection:84:25
at http://salesfu.dev/lib/bower_components/angular/angular.min.js?ver=1415908681:80:82
at http://salesfu.dev/lib/bower_components/angular/angular.min.js?ver=1415908681:110:390
at k.$eval (http://salesfu.dev/lib/bower_components/angular/angular.min.js?ver=1415908681:124:250)
at k.$digest (http://salesfu.dev/lib/bower_components/angular/angular.min.js?ver=1415908681:121:332)
at k.$apply (http://salesfu.dev/lib/bower_components/angular/angular.min.js?ver=1415908681:125:12)
at n (http://salesfu.dev/lib/bower_components/angular/angular.min.js?ver=1415908681:80:374) angular.min.js?ver=1415908681:101
</pre>
How can I inject a constant with Angularbooter? For example how can I use something like this:
<script>
angular.module("app").constant("CSRF_TOKEN", '{{ csrf_token() }}');
</script>
I am trying to share information between two controllers. I think I can do so if I'll use angular.factory()
. How can I create a factory with AngularBooter?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.