Merge pull request #616 from brendandburns/example

Augment the update example to turn black if the server is not responding...
This commit is contained in:
Clayton Coleman 2014-07-25 01:16:33 -04:00
commit dde108a737

View File

@ -23,6 +23,7 @@ var updateColor = function($http, server) {
console.log(data);
})
.error(function(data) {
server.color = "#000";
console.log(data);
});
};