Skip to content

Instantly share code, notes, and snippets.

View guptaaman2011's full-sized avatar

Aman Gupta guptaaman2011

View GitHub Profile
@guptaaman2011
guptaaman2011 / app.js
Created February 21, 2016 07:05 — forked from brianfeister/app.js
Angular Upload with Image Crop
angular.module('cropAndUpload', [
'angularFileUpload',
'ngImgCrop'
])
@guptaaman2011
guptaaman2011 / authRoutes.js
Created July 5, 2016 17:10
Auth Routes for angular application with login,signup,logout
var constants = require('../scripts/constants');
var logger = require(constants.paths.scripts + '/logger');
var util = require(constants.paths.scripts + '/util');
var assetBuilder = require(constants.paths.scripts + '/assetBuilder');
var menuBuilder = require(constants.paths.scripts + '/menuBuilder');
module.exports = function(app, passport) {
// normal routes ===============================================================