First approach into angular js library