Making photos list an angular directive. Adding appropriate angular modules