diff --git a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/chat_driver.jsp b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/chat_driver.jsp
index d39b0574dbac768b98e4ea12ed7372431a42fb33..f7449b184c55d876abd3a0da0221818ab1eacd64 100644
--- a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/chat_driver.jsp
+++ b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/chat_driver.jsp
@@ -34,15 +34,14 @@
 
         <div ng-controller="ChatController as chatController">
             <div id="scrollArea">
-                <div ng-repeat="chat in chatController.chatList">
+                <div ng-repeat="chat in chatList">
                     <p class="chat-bubble-left" ng-if="chat.from === 'them'">{{chat.text}}</p>
                     <p class="chat-bubble-right" ng-if="chat.from === 'me'">{{chat.text}}</p>
                 </div>
-                <div scroll-to-bottom=""></div>
             </div>
             <div class="chat-box">
-                <form class="form-chat-box" ng-submit="chatController.addChat()">
-                    <input class="text-input" ng-model="chatController.chatText"
+                <form class="form-chat-box" ng-submit="addChat()">
+                    <input class="text-input" ng-model="chatText"
                            placeholder="Enter a message">
                     <input class="send-button" type="submit" value="Kirim">
                 </form>
@@ -68,18 +67,18 @@
 </script>
 <script>
     angular.module('chatApp', [])
-        .controller('ChatController', function () {
-            this.chatList = [];
+        .controller('ChatController', function ($scope) {
+            $scope.chatList = [];
 
-            this.addChat = function () {
-                if (this.chatText.length !== 0) {
-                    this.chatList.push({
+            $scope.addChat = function () {
+                if ($scope.chatText.length !== 0) {
+                    $scope.chatList.push({
                         from: 'me',
                         text: this.chatText
                     });
                 }
 
-                this.chatText = '';
+                $scope.chatText = '';
             };
         });
 </script>