Angular-gridster2: How to use for Angular 1.x?

Created on 27 Dec 2017  路  5Comments  路  Source: tiberiuzuld/angular-gridster2

I haven't worked beyond Angular 1.x but I'm guessing this error is due to not having Angular 2:
Uncaught TypeError: angular.module(...).component is not a function

Is there any documentation for how to use gridster2 on Angular 1.x?

question

All 5 comments

Hi @kozo96 ,
You need to use 1.x branch for angular1.
For npm the latest version is 1.20.0.

Thanks

I did, but angular source code for 1.x branch still has angular.module(...).component.

which gives me the same error:

Uncaught TypeError: angular.module(...).component is not a function

You need angular 1.5 at least.

Is there away to make it work on angular 1.3.2? Because upgrading will break lots of code :s

Was this page helpful?
0 / 5 - 0 ratings

Related issues

matpag picture matpag  路  3Comments

marco-martins picture marco-martins  路  4Comments

ermcgrat picture ermcgrat  路  3Comments

HighSoftWare96 picture HighSoftWare96  路  4Comments

dhaniksahni picture dhaniksahni  路  4Comments