Skip to content

Instantly share code, notes, and snippets.

View speakers.service.js
(function () {
'use strict';
angular
.module('main')
.service('SpeakersService', function ($http,
$cookieStore,
$q,
$rootScope,
URL, BUCKET_SLUG, READ_KEY, WRITE_KEY, MEDIA_URL) {
View speakers.mdl.js
(function () {
'use strict';
angular
.module('speakers', [])
.config(config);
config.$inject = ['$stateProvider', '$urlRouterProvider'];
function config($stateProvider, $urlRouterProvider) {
View speakers.ctrl.js
(function () {
'use strict';
angular
.module('main')
.controller('SpeakersCtrl', SpeakersCtrl);
function SpeakersCtrl($rootScope, SpeakersService, Notification, $log, MEDIA_URL, $state) {
var vm = this;
View about.mdl.js
(function () {
'use strict';
angular
.module('about', [])
.config(config);
config.$inject = ['$stateProvider', '$urlRouterProvider'];
function config($stateProvider, $urlRouterProvider) {
View about.ctrl.js
(function () {
'use strict';
angular
.module('main')
.controller('AboutCtrl', AboutCtrl);
function AboutCtrl($stateParams, AboutService, Notification, $log, MEDIA_URL, $state) {
var vm = this;
View about.service.js
(function () {
'use strict';
angular
.module('main')
.service('AboutService', function ($http,
$cookieStore,
$q,
$rootScope,
URL, BUCKET_SLUG, READ_KEY, WRITE_KEY, MEDIA_URL) {
View user.service.js
(function () {
'use strict';
angular
.module('main')
.service('UserService', function ($http,
$cookieStore,
$q,
$rootScope,
URL, BUCKET_SLUG, READ_KEY, WRITE_KEY) {
View auth.service.js
(function () {
'use strict';
angular
.module('main')
.service('AuthService', function ($http,
$cookieStore,
$q,
$rootScope,
URL, BUCKET_SLUG, READ_KEY, WRITE_KEY) {
View auth.ctrl.js
(function () {
'use strict';
angular
.module('main')
.controller('AuthCtrl', AuthCtrl);
function AuthCtrl(crAcl, $state, AuthService, Flash, $log) {
var vm = this;
View main.mdl.js
(function () {
'use strict';
angular
.module('main', [
'ui.router',
'ui.bootstrap',
'ngMask',
'ngCookies',
'ngRoute',