I know that it is possible to include AngularJs with Maven into a Spring project for instance but how would one include it with Gradle?
Looking into gradle repositor
Check out webjars, i highly recommend it.
I've just used it in Maven and Gradle project.
Basically it is just what we needed, a vast collection of front-end projects and frameworks packaged in jars.
Add this dependency to your build.gradle script:
compile 'org.webjars:angularjs:1.3.14'
Go to documentation section for a quick setup guide for Spring
include angular.js or some other module from the jar in you script like a local resource
require.js script