Module definitions moved

amiproperty.js now contains the definition for all custom angular
modules the amiProperty application needs.

As such it needs to be included first on index.