use doto $scope