Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

slush-angular-basic

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slush-angular-basic - npm Package Compare versions

Comparing version
0.0.4
to
0.0.5
templates/app/assets/fonts/.gitkeep

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

+38
/*
SETTINGS
*/
@import "_settings/**/*";
/*
TOOLS
*/
//Mixins
@import "_tools/mixins/*";
// Placeholders
@import "_tools/placeholders/*";
/*
GENERIC
*/
@import "_generic/**/*";
/*
BASE
*/
@import "_base/**/*";
/*
OBJECTS
*/
@import "_objects/**/*";
/*
COMPONENTS
*/
@import "_components/**/*";

Sorry, the diff of this file is not supported yet

/**
*
* AppRoutes.js
*
*
* This file contens all config for app
* routes, httpProviders and others..
*
* @dependency - $routeProvider
* @dependency - $httpProvider
*
**/
(function() {
'use strict';
angular
.module('app')
.config(config);
//inject dependencies for config function
config.$inject = ['$routeProvider', '$httpProvider'];
//config function
function config($routeProvider, $httpProvider) {
$routeProvider.
when('/', {
templateUrl: 'views/index.html'
}).
otherwise({
redirectTo: '/'
});
}
})();

Sorry, the diff of this file is not supported yet

/**
*
* AppController
*
* @dependency - $http
*
**/
(function(){
'use strict'
angular
.module('app')
.controller('appController', appController);
//inject dependency
appController.$inject = [ '$http',
'$location' ];
/**
*
* appController
*
*
* @dependency - $http,
* $location
*
**/
function appController($http, $location) {
var vm = this;
}; // end appController
})();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

doctype html
html(lang="en" ng-app="app")
head
title slush angular basic
link(rel="stylesheet", href="assets/css/main.min.css")
body(ng-controller="appController as vm")
ng-view
|Ready for develop!
script(src="bower_components/angularjs/angular.min.js")
script(src="bower_components/angular-loader/angular-loader.min.js")
script(src="bower_components/angular-route/angular-route.min.js")
script(src="assets/js/main.min.js")

Sorry, the diff of this file is not supported yet

/**
*
* AppModule
*
*
* Set module app
*
* @dependency - ngRoute
*
**/
(function() {
'use strict';
angular
.module('app', ['ngRoute']);
})();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

section
|Ready for develop!
+1
-1
{ "name": "slush-angular-basic",
"version": "0.0.4",
"version": "0.0.5",
"description": "my personal template for develop angular webapp",

@@ -4,0 +4,0 @@ "main": "slushfile.js",

/*
* slush-mean
* https://github.com/seu-nome/slush-mean
* https://github.com/dielduarte/slush-angular-basic
*
* Copyright (c) 2014, Seu Nome
* Copyright (c) 2014, Diel Duarte
* Licensed under the MIT license.

@@ -7,0 +7,0 @@ */

@@ -7,3 +7,3 @@

gulp.task('copyfont',['copyfontaweome'], function(){
return gulp.src('./dev/app/assets/fonts/*.*')
return gulp.src('./app/assets/fonts/*.*')
.pipe(gulp.dest('./public/assets/fonts'));

@@ -10,0 +10,0 @@ });

@@ -5,4 +5,4 @@ var gulp = require('gulp');

gulp.task('copyimage',function () {
return gulp.src('./dev/app/assets/img/*.*')
return gulp.src('./app/assets/img/*.*')
.pipe(gulp.dest('./public/assets/img'));
});

@@ -9,3 +9,3 @@

gulp.src('./dev/app/index.jade')
gulp.src('./app/index.jade')
.pipe(jade({pretty: true}))

@@ -12,0 +12,0 @@ .pipe(minifyHTML(opts))

@@ -13,3 +13,3 @@ var gulp = require('gulp'),

gulp.src('./dev/app/assets/scss/main.scss')
gulp.src('./app/assets/scss/main.scss')
.pipe(cssGlobbing({ extensions: ['.css', '.scss'] }))

@@ -16,0 +16,0 @@ .pipe(sass())

@@ -9,5 +9,5 @@

gulp.task('imagemin',function () {
return gulp.src('./dev/app/assets/img/*.png')
return gulp.src('./app/assets/img/*.png')
.pipe(imagemin())
.pipe(gulp.dest('./public/assets/img'));
});

@@ -12,3 +12,3 @@ var gulp = require('gulp'),

gulp.src('./dev/app/views/**/*.jade')
gulp.src('./app/views/**/*.jade')
.pipe(jade({pretty: true}))

@@ -15,0 +15,0 @@ .pipe(minifyHTML(opts))

@@ -11,8 +11,8 @@

return gulp.src([
'./dev/app/modules/**/*.js',
'./dev/app/config/**/*.js',
'./dev/app/directives/**/*.js',
'./dev/app/services/**/*.js',
'./dev/app/factorys/**/*.js',
'./dev/app/controllers/**/*.js'])
'./app/modules/**/*.js',
'./app/config/**/*.js',
'./app/directives/**/*.js',
'./app/services/**/*.js',
'./app/factorys/**/*.js',
'./app/controllers/**/*.js'])
.pipe(concat('main.js'))

@@ -19,0 +19,0 @@ .pipe(ngAnnotate())

var gulp = require('gulp');
gulp.task('watch',function(){
gulp.watch('dev/app/**/*.js', ['js']);
gulp.watch('dev/app/assets/scss/**/*.scss', ['css']);
gulp.watch('dev/app/views/**/*.jade', ['jade']);
gulp.watch('dev/app/index.jade', ['copyindex'])
gulp.watch('app/**/*.js', ['js']);
gulp.watch('app/assets/scss/**/*.scss', ['css']);
gulp.watch('app/views/**/*.jade', ['jade']);
gulp.watch('app/index.jade', ['copyindex'])
});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

/*
SETTINGS
*/
@import "_settings/**/*";
/*
TOOLS
*/
//Mixins
@import "_tools/mixins/*";
// Placeholders
@import "_tools/placeholders/*";
/*
GENERIC
*/
@import "_generic/**/*";
/*
BASE
*/
@import "_base/**/*";
/*
OBJECTS
*/
@import "_objects/**/*";
/*
COMPONENTS
*/
@import "_components/**/*";

Sorry, the diff of this file is not supported yet

/**
*
* AppRoutes.js
*
*
* This file contens all config for app
* routes, httpProviders and others..
*
* @dependency - $routeProvider
* @dependency - $httpProvider
*
**/
(function() {
'use strict';
angular
.module('app')
.config(config);
//inject dependencies for config function
config.$inject = ['$routeProvider', '$httpProvider'];
//config function
function config($routeProvider, $httpProvider) {
$routeProvider.
when('/', {
templateUrl: 'views/index.html'
}).
otherwise({
redirectTo: '/'
});
}
})();

Sorry, the diff of this file is not supported yet

/**
*
* AppController
*
* @dependency - $http
*
**/
(function(){
'use strict'
angular
.module('app')
.controller('appController', appController);
//inject dependency
appController.$inject = [ '$http',
'$location' ];
/**
*
* appController
*
*
* @dependency - $http,
* $location
*
**/
function appController($http, $location) {
var vm = this;
}; // end appController
})();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

doctype html
html(lang="en" ng-app="app")
head
title slush angular basic
link(rel="stylesheet", href="assets/css/main.min.css")
body(ng-controller="appController as vm")
ng-view
|Ready for develop!
script(src="bower_components/angularjs/angular.min.js")
script(src="bower_components/angular-loader/angular-loader.min.js")
script(src="bower_components/angular-route/angular-route.min.js")
script(src="assets/js/main.min.js")

Sorry, the diff of this file is not supported yet

/**
*
* AppModule
*
*
* Set module app
*
* @dependency - ngRoute
*
**/
(function() {
'use strict';
angular
.module('app', ['ngRoute']);
})();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

section
|Ready for develop!