This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc | |
// jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/ | |
// author: Pawel Kozlowski | |
var myApp = angular.module('myApp', []); | |
//service style, probably the simplest one | |
myApp.service('helloWorldFromService', function() { | |
this.sayHello = function() { | |
return "Hello, World!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "meccabox", | |
"version": "0.0.1-51", | |
"private": true, | |
"dependencies": { | |
"express": "2.5.8", | |
"stylus": ">= 0.27.1", | |
"jade": "0.26.x", | |
"mongoose": "2.7.x", | |
"mailer": "0.6.x", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warn: Creating new snapshot for version 0.0.1-45 | |
info: Done creating snapshot 0.0.1-45 | |
info: Updating application meccabox | |
info: Activating snapshot 0.0.1-45 for meccabox | |
info: Stopping app meccabox | |
info: App meccabox is now stopped | |
info: Starting app meccabox | |
error: Error running command deploy | |
error: socket hang up | |
info: Nodejitsu not ok |