Removed angular resolution.
Fixed to use amd and non global moment if available.