Skip to content

Instantly share code, notes, and snippets.

View kutsaniuk's full-sized avatar
🏠
Working from home

kutsaniuk kutsaniuk

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