security with angular js blogpost