Skip to content

Instantly share code, notes, and snippets.

@danilat
Created September 12, 2017 22:08
Show Gist options
  • Save danilat/1f38016e07d15caf672856d3f6bc0646 to your computer and use it in GitHub Desktop.
Save danilat/1f38016e07d15caf672856d3f6bc0646 to your computer and use it in GitHub Desktop.
var gigService;
angular.module('mosica', ['ionic', 'mosica.controllers'])
.run(function($ionicPlatform, $rootScope, $http) {
$ionicPlatform.ready(function() {
//...
var httpClient = AngularHttpClient($http);
var matcher = new Matcher();
gigService = new GigService(httpClient, matcher);
//...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment