     .done ->
       document.location = document.URL # reload, the ugly way
 
-civic.controller "NewPetitionController", ($scope, $sce) ->
+civic.controller "NewPetitionController", ["$scope", "$sce", ($scope, $sce) ->
   $scope.model =
     title: ""
     statement: ""

          $scope.model.results = results




    statement: ->
      verify "statement", not _.isEmpty($scope.model.statement), "statement cannot be empty"
  ]

civic.controller "SearchController", ["$scope", ($scope) ->
  SEARCH_URL = _.template "/petitions/find/<%= query %>"

  $scope.deliberatelyTrustDangerousSnippet = (data)->
