Application.Controllers.controller('projectsDataEditCreateReview',
    ["$scope", "mcapi", "User", "$stateParams", "alertService", "pubsub", "$state","dateGenerate", "$filter",
        function ($scope, mcapi, User, $stateParams, alertService, pubsub, $state, dateGenerate, $filter) {
            $scope.addReview = function () {
                $scope.review = {messages: []}
                $scope.review.item_id = $scope.doc.id;
                $scope.review.item_type = 'datafile';
                $scope.review.item_name = $scope.doc.name;
                $scope.review.author = User.u();
                $scope.review.assigned_to = $scope.model.assigned_to;
                $scope.review.status = 'open';
                $scope.review.title = $scope.model.title;
                $scope.review.messages.push({'message': $scope.model.new_review, 'who': User.u(), 'date': dateGenerate.new_date()});
                $scope.saveData();

            };
            $scope.saveData = function () {
                mcapi('/reviews')
                    .success(function (data) {
                        $state.go('projects.dataedit.editreviews', {'review_id': data.id})
                        $scope.model.new_review = "";
                    }).post($scope.review);
            };
            $scope.viewReview = function(review){
                $state.go('projects.dataedit.editreviews', {'review_id': review.id})
            }
            $scope.showReviews = function(status){
                $scope.status = status;
                if(status === 'open'){
                    $scope.list_reviews = $scope.open_reviews;
                }
                else if(status === 'close'){
                    $scope.list_reviews = $scope.closed_reviews;
                }
            }
            $scope.loadReviews = function(id){
                mcapi('/datafiles/%/reviews', $stateParams.data_id)
                    .success(function (reviews) {
                        $scope.open_reviews = $filter('reviewFilter')(reviews, 'open');
                        $scope.closed_reviews = $filter('reviewFilter')(reviews, 'close');
                        $scope.list_reviews =  $scope.open_reviews;
                        $scope.status = 'open'
                        pubsub.send('open_reviews.change')
                    }).jsonp();
            }
            function init() {
                $scope.list_reviews = [];
                $scope.loadReviews();
                mcapi('/datafile/%', $stateParams.data_id)
                    .success(function (data) {
                        $scope.datafile = data;
                    }).jsonp();


                $scope.model = {
                    new_review: "",
                    assigned_to: "",
                    title: ""
                };
                mcapi('/selected_users')
                    .success(function (data) {
                        $scope.users = data;
                    }).jsonp();
            }

            init();

        }]);
@@ -369,17 +369,18 @@
 ges: %5B%5D%7D
+;
 %0A
-
         
@@ -1158,24 +1158,25 @@
 ': data.id%7D)
+;
 %0A           
@@ -1411,16 +1411,17 @@
 iew.id%7D)
+;
 %0A       
@@ -1418,32 +1418,33 @@
 );%0A            %7D
+;
 %0A            $sc
@@ -1772,32 +1772,33 @@
  %7D%0A            %7D
+;
 %0A            $sc
@@ -2240,16 +2240,17 @@
 = 'open'
+;
 %0A       
@@ -2300,16 +2300,17 @@
 change')
+;
 %0A       
@@ -2339,32 +2339,33 @@
 );%0A            %7D
+;
 %0A            fun
@@ -2999,24 +2999,24 @@
    init();%0A%0A
-
         %7D%5D);
@@ -3015,8 +3015,9 @@
     %7D%5D);
+%0A

Add missing semi-colons.