Hello World! In AngularJS

🖊️ 🔖 code 💬 0

My coworker recently complained to me how hard it was to find a simple “Hello World” program in AngularJS. I did a google search and found that indeed, all the simplest examples still asked the user to set up a bunch of boilerplate, file structure, etc.

Here is the simplest Hello World in AngularJS I could come up with, and it still shows 2 way binding:

{{< highlight html >}}

Hello Angular!

Hello, {{world}}!

{{< / highlight >}}