Nadeem Khedr
Enter a key term, phrase, name or location to get a selection of only relevant news from all RSS channels.
Enter a domain's or RSS channel's URL to read their news in a convenient way and get a complete analytics on this RSS feed.
Unfortunately Nadeem Khedr has no news yet.
But you may check out related channels listed below.
[...] the controller (where its not where it should be, because it will be specific for each unit tests) If you tried to do that, the beforeEach will be the only place to mock out all the [...]
[...] passing it the page number & a call back when clicked Note: the reason we are using a callback function instead of observing the variable pageNumber , is because when we filter or sort we manually [...]
[...] exactly like ng-submit but with two extra features Like i said it will fire the callback function only if the form is valid It will also track a value on a form, attempt and when [...]
[...] ; service is just a custom service that has a ‘login’ method, it just makes an ajax request to the server with the credentials passed and then returns a promise. Note: we [...]
[...] , is because when we filter or sort we manually want to change the pageNumber without making an ajax request The Controller api.js The View [...]
[...] and how to mock them Angular implements a promise/deferred pattern for its ajax stuff, any ajax request will return a promise, also you can create a new promise using the $q service What’s a [...]
[...] the user to an error route) How will we implement it ? First thing we want to get all the user permissions before loading our app (more like a resolve but for every route) then we will store it ( [...]
[...] with different transition object passed to it depending on the actual route that the user tries to access To get the controller that the user is accessing, you have to call How to [...]
[...] What we want to do is that when the user tries to go to a page and he is not logged in, we want to redirect him back to that page after he [...]
[...] /Date(1198908717056)/ or /Date(1198908717056-0700)/ This will happen often if you try to make an ajax call to an asp.net action and it returns a JsonResult that contains DateTime [...]
[...] change event because change will fire on each character added/removed , we want to make an ajax call after the user finish typing not while he is typing onBlurChange.js We are adding a flag in the [...]
[...] route ) Http Interceptor (We will Setup an interceptor that will check when the server returns 401 or 403 and will redirect the user to an error route) How will we [...]
[...] him back to the url that he originally requested the same scenario will happens when the server returns unauthorized header (401) we will apply that using an interceptor that will checks the status [...]
[...] it a callback function & on-enter-blur on-blur-change will be called when the user blur away from a textbox but when only the textbox is changed (don’t want to fire a [...]
[...] the controller (where its not where it should be, because it will be specific for each unit tests) If you tried to do that, the beforeEach will be the only place to mock out all the [...]
Related channels
-
Nadeem Afana's blog
Software Development
- Dustin Collins
-
Mind Dump
Random daily ramblings of an unfocused developer
-
The Code Sheriff
Keeping the streets clean of bad development practices.