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
upstream api_node_js { | |
server 127.0.0.1:8080; | |
} | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server ipv6only=on; | |
root /var/www/my-kickass-domain/public_html; | |
index index.html index.htm; |
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
serpIQ.factory('UserAccount', ['$resource', '$timeout', function($resource, $timeout) { | |
var userResource = $resource('/users/account', {}, {}); | |
var accountInfo = {}; | |
(function pollStatus() { | |
userResource.get({}, function(response){ | |
accountInfo.foo = { | |
plan: response.plan, |