Flow interfaces for Angular JS