pinkCoder
pinkCoder

Reputation: 21

using angularjs and nodejs in the .ejs file

I am new to Angularjs and want to know can we use angularjs in .ejs files for writing client side applications. Also, can we write both angularjs and nodejs files in the same .ejs file? I will be grateful for any further guidance.

Upvotes: 0

Views: 44

Answers (1)

Gokul Thulaseedharan
Gokul Thulaseedharan

Reputation: 343

The best way is to render the index page from server and then use angularjs local routing to load templates.

Upvotes: 1

Related Questions