V School | Better Humans, Better Outcomes

Angular Directives

Have you ever been jealous of Angular's ability to create new names for HTML tags and attributes? Directives like ng-repeat and ng-model make Angular incredibly useful. As it turns out, you can define your own custom directives with angular. There are a couple main reasons why you would want to

Hit List (axios or fetch)

You have been hired by the Godfather to make an internal mafia hit list site. The Corleone family has been having a hard time keeping track of all the people they need to 'take care of ', and all the jobs that have already been successfully carried out. You have

$http in Angular

$http is an Angular service that make HTTP requests easy and convenient. $http is a wrapper for the XMLHttpRequest and JSONP browser functionality. It is quite similar to jQuery's ajax implementation, so you should have no trouble learning it. $http (and most other Angular built-in services, in fact) uses promises,

Angular Service Basics

Services Angular services are singletons. They can be used module or application wide. Services are where you should store data that you don't want to lose between screens and different controllers. We are going to cover basic services. There is also a provider service, and a factory service. They are

No Duplicates

Given a string, remove any duplicate letters. Example: var input = "bookkeeper larry"; // Output: "bokepr lay" Extra Credit: * Create a function that randomly removes a letter. * Create a function that scrambles the original string. * Create a function using regular expressions that remove all vowels.

V School | Better Humans, Better Outcomes © 2026