Navigation Menu

Skip to content

Commit

Permalink
Re-ran yo angular-fullstack to add bootstrap to the project
Browse files Browse the repository at this point in the history
  • Loading branch information
manderly committed Jul 2, 2017
1 parent cf2dfcb commit ab693e9
Show file tree
Hide file tree
Showing 24 changed files with 2,005 additions and 1,969 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -9,4 +9,3 @@ dist
/server/config/local.env.js
npm-debug.log
coverage
bower_components
4 changes: 2 additions & 2 deletions .yo-rc.json
Expand Up @@ -20,8 +20,8 @@
"html": true,
"sass": true,
"ngroute": true,
"bootstrap": false,
"uibootstrap": false,
"bootstrap": true,
"uibootstrap": true,
"models": true,
"sequelizeModels": true,
"sequelize": true,
Expand Down
19 changes: 19 additions & 0 deletions bower_components/angular-underscore-module/.bower.json
@@ -0,0 +1,19 @@
{
"name": "angular-underscore-module",
"version": "1.0.3",
"main": "./angular-underscore-module.js",
"dependencies": {
"underscore": "~1.8"
},
"homepage": "https://github.com/andresesfm/angular-underscore-module",
"_release": "1.0.3",
"_resolution": {
"type": "version",
"tag": "v1.0.3",
"commit": "e6b72c3671269bfb8e405087c87941076ba35933"
},
"_source": "https://github.com/andresesfm/angular-underscore-module.git",
"_target": "~1.0.3",
"_originalSource": "angular-underscore-module",
"_direct": true
}
21 changes: 21 additions & 0 deletions bower_components/angular-underscore-module/LICENSE.txt
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2014 Andres Aguilar

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
43 changes: 43 additions & 0 deletions bower_components/angular-underscore-module/README.md
@@ -0,0 +1,43 @@
angular-underscore-module - Use Underscore from an Angular Controller or Service
======


## Usage

0. Make sure you have included underscore.js in your project

```<script src="bower_components/underscore/underscore.js">```

1. get it

```bower install angular-underscore-module```

2. Add angular-underscore-module.js to your main file (index.html)

```<script src="bower_components/angular-underscore-module/angular-underscore-module.js"></script>```

3. Add the module as a dependency in your App definition

```javascript
var myapp = angular.module('MyApp', ['underscore'])
```

4. To use, add as an injected dependency to your Controller/Service and it is ready to use

```javascript
angular.module('MyApp')
.controller('MyCtrl', function ($scope, _) {
...
//Use underscore
_.each(...);
...
```
References:
Underscore:
http://underscorejs.org/
Stackoverflow:
http://stackoverflow.com/questions/14968297/use-underscore-inside-controllers
Github:
https://github.com/andresesfm/angular-underscore-module
@@ -0,0 +1,8 @@
/**
* Let's you use underscore as a service from a controller.
* Got the idea from: http://stackoverflow.com/questions/14968297/use-underscore-inside-controllers
* @author: Andres Aguilar https://github.com/andresesfm
*/
angular.module('underscore', []).factory('_', ['$window', function($window) {
return $window._; // assumes underscore has already been loaded on the page
}]);
8 changes: 8 additions & 0 deletions bower_components/angular-underscore-module/bower.json
@@ -0,0 +1,8 @@
{
"name": "angular-underscore-module",
"version": "1.0.2",
"main": "./angular-underscore-module.js",
"dependencies": {
"underscore": "~1.8"
}
}
36 changes: 36 additions & 0 deletions bower_components/underscore/.bower.json
@@ -0,0 +1,36 @@
{
"name": "underscore",
"version": "1.8.3",
"main": "underscore.js",
"keywords": [
"util",
"functional",
"server",
"client",
"browser"
],
"ignore": [
"docs",
"test",
"*.yml",
"CNAME",
"index.html",
"favicon.ico",
"CONTRIBUTING.md",
".*",
"component.json",
"package.json",
"karma.*"
],
"homepage": "https://github.com/jashkenas/underscore",
"_release": "1.8.3",
"_resolution": {
"type": "version",
"tag": "1.8.3",
"commit": "e4743ab712b8ab42ad4ccb48b155034d02394e4d"
},
"_source": "https://github.com/jashkenas/underscore.git",
"_target": "~1.8.3",
"_originalSource": "underscore",
"_direct": true
}
23 changes: 23 additions & 0 deletions bower_components/underscore/LICENSE
@@ -0,0 +1,23 @@
Copyright (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative
Reporters & Editors

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
22 changes: 22 additions & 0 deletions bower_components/underscore/README.md
@@ -0,0 +1,22 @@
__
/\ \ __
__ __ ___ \_\ \ __ _ __ ____ ___ ___ _ __ __ /\_\ ____
/\ \/\ \ /' _ `\ /'_ \ /'__`\/\ __\/ ,__\ / ___\ / __`\/\ __\/'__`\ \/\ \ /',__\
\ \ \_\ \/\ \/\ \/\ \ \ \/\ __/\ \ \//\__, `\/\ \__//\ \ \ \ \ \//\ __/ __ \ \ \/\__, `\
\ \____/\ \_\ \_\ \___,_\ \____\\ \_\\/\____/\ \____\ \____/\ \_\\ \____\/\_\ _\ \ \/\____/
\/___/ \/_/\/_/\/__,_ /\/____/ \/_/ \/___/ \/____/\/___/ \/_/ \/____/\/_//\ \_\ \/___/
\ \____/
\/___/

Underscore.js is a utility-belt library for JavaScript that provides
support for the usual functional suspects (each, map, reduce, filter...)
without extending any core JavaScript objects.

For Docs, License, Tests, and pre-packed downloads, see:
http://underscorejs.org

Underscore is an open-sourced component of DocumentCloud:
https://github.com/documentcloud

Many thanks to our contributors:
https://github.com/jashkenas/underscore/contributors
7 changes: 7 additions & 0 deletions bower_components/underscore/bower.json
@@ -0,0 +1,7 @@
{
"name": "underscore",
"version": "1.8.3",
"main": "underscore.js",
"keywords": ["util", "functional", "server", "client", "browser"],
"ignore" : ["docs", "test", "*.yml", "CNAME", "index.html", "favicon.ico", "CONTRIBUTING.md", ".*", "component.json", "package.json", "karma.*"]
}
6 changes: 6 additions & 0 deletions bower_components/underscore/underscore-min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions bower_components/underscore/underscore-min.map

Large diffs are not rendered by default.

0 comments on commit ab693e9

Please sign in to comment.