3
I really like the Angularjs, and when I read in articles about its discontinuation, it was that one of the main reasons was Dirty Checking. I think that Dirty Checking are the checks made by Two way data Binding, wanted to know if the Vuejs owns this Dirty Checking, because I lay seeing on the outside, I do not see the difference between the two codes. For me the two are two way data Binding
Using Vuejs
var vm = new Vue({
el: '#app',
data: {
teste: "Teste"
}
});
<script src="https://cdn.jsdelivr.net/vue/1.0.16/vue.js"></script>
<div id="app">
<input v-model="teste">
{{teste}}
</div>
Using Angularjs
var app = angular.module('app', []);
app.controller('MainCtrl', function($scope) {
$scope.teste = 'Teste';
});
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
<div ng-app="app" ng-controller="MainCtrl">
<input ng-model="teste">
<p>{{ teste }}</p>
</div>
Good question! After the publications I saw here today on the site, I wish I could raise this one 20 times.
– Jéf Bueno
I’m sorry, I don’t know Angularjs, but where did you read about him being discontinued? I mean, I think you read from somewhere that might have some wrong information. Not that they do not promote Angular (without JS), but I believe that Angularjs still gets improvements, but it would be interesting if you put yourself from where you got this information.
– Guilherme Nascimento
I believe that
AngularJS
is version 1. Last week came out Angular 5.– Sergio
AngularJS
is a thing.Angular
is another. TheAngularJS
is calledAngular 1
because it was the first version, but not to confuse, the people of Google separated theAngularJS
andAngular
. TheAngular
(Already in version 5), is a rewritten framework from scratch, it has totally different concepts fromAngularJS
– Jackson