diff --git a/tasks/angular-service.js b/tasks/angular-service.js
index <HASH>..<HASH> 100644
--- a/tasks/angular-service.js
+++ b/tasks/angular-service.js
@@ -260,7 +260,7 @@ module.exports = function(grunt) {
       var deps = data.inject || [];                       // Service dependencies.
       var name = data.name;                               // Name of service.
       var choose = data.choose;
-      var pretty = data.pretty || true;
+      var pretty = (data.pretty !== undefined) ? data.pretty : true;
 
       // If pretty is `true`, set it to default beautifier settings.
       if (pretty === true) {
fix `pretty = false` option

you'll never get a falsy value out of "result = thing || true".