What is AngularJs Mini Challenges
AngularJs Mini Challenges is a growing collection of “Challenges” about the most quirky parts of the AngularJs framework. It encourage you to find and fix common mistakes and subtle bugs, as well as performance issues and bad practices, that non-expert AngularJs programmers may encounter on their endeavours into the depths of the framework.
AngularJs Mini Challenges does not aim to teach you AngularJs. Former knowledge of the Framework is strongly recommended in order to understand the topics covered in this Challenges. In order to learn the basics of the Framework, please head over to this excellent book:
The AngularJs target version for these challenges is 1.x.
Challenges (Phase one):
- Problem when using JS events in AngularJs.
- Scoping scope.
- How to reset scope data to initials value.
- Dependency injection issue when minify the js.
- Debugging Two ways, to see the content of an scope var.
- How to insert html into a view.
- Insert conditional css class in AngularJs .
- Focus on input field in AngularJS.
- How two controllers can communicate between each other .
- Prevent flicker when Angular route change until model gets loaded.
Challenges (Phase two):
- Prevent angular executing controller twice.
- How to use a filter in a controller.
- How to preventDefault on anchor tags in AngulatJs.
- ng-include not working.
- $scope.emit not working.
- How to access to the controller $scope from the console.
- How to avoid Angular ng-repeat Error “Duplicates in a repeater are not allowed.”
- Difference between the $observe and $watch methods.
- How can I iterate over the keys, value in ng-repeat in angular.
- We need to share data at global level, what we can use.
Challenges (Phase three):
- Angular JS ng-repeat handle empty list case.
- How to display length of filtered ng-repeat data.
- What’s the most concise way to read query parameters in AngularJS?
- Prevent double curly brace notation from displaying momentarily before angular.js compiles/interpolates document.
- How can I call an AngularJS service from the console?
- Preload partial views before is requested in the route configuration.
- Removing the hashtag from AngularJS urls (# symbol).
- How to watch for a route change in AngularJS.
So far I have finished about the 33% of the intended total of challenges