это при каждом вызове самому?
                  
                  
                  
                  
                  
                  sendComment(form) {
                  
                  
                     this.Comments.addComment(this.newComment).then(() => {
                  
                  
                          console.log(this);
                  
                  
                          this.$scope.$apply(() => {
                  
                  
                             this.newComment = {};
                  
                  
                  
                  
                  
                             form.$setPristine();
                  
                  
                          });
                  
                  
                        });
                  
                  
                      }
                  
                  
                
работает и без this.$scope.$apply
Обсуждают сегодня