easy javascript with angular js