what is the difference in angular and angularjs 2
Here are a few good pages that explain the differences:
You should really Google common things before you ask here.
To add to what’s been posted, Angular 1.x is now referred to as “AngularJS” and 2.x+ is referred to as just “Angular”, since your post title was inconsistent from your post.
AngularJS (1.x): https://angularjs.org/
Angular (2.x, 4.x, upcoming 5.x): https://angular.io/