Using ExtJS components with AngularJS? Possible?

3,217 views
Skip to first unread message

Jeff Austin

unread,
Jun 3, 2012, 10:17:28 PM6/3/12
to AngularJS
Hi. First off - Excellent framework! My question:

Is it possible to use ExtJs 4 components within an Angular
application? I have views that require the use of some ExtJS
components (DataGrids, Panels, Charts, etc). But I LOVE LOVE LOVE the
MVC, IoC, databinding, and declarative syntax of Angular! Is it
possible to combine the 2?

To illustrate, let's say I want to create a ExtJS button component
within an angular controller scope. Here is what I have tried so far
with a basic controller (which is not quite right).

function HomeCtrl($scope) {
$scope.button = Ext.create("Ext.Button", {
text: "Clicky Clicky",
renderTo: Ext.getBody() // obviously this is not correct
because it is rendering to the body via Ext object
});
}

So you can see what I'm trying to do here - create an ExtJS component
that can be a part of the HomeCtrl scope. Is this possible?

If this seems strange, please note that I'm a Flex developer exploring
HTML5/JS for application development, and I'm very new to Angular and
ExtJS. I really like the idea of using Angular as the main structure
and framework of an application, but I really need some heavy duty
components like those from ExtJS.

Thanks!

-Jeff

Misko Hevery

unread,
Jun 6, 2012, 9:03:05 PM6/6/12
to ang...@googlegroups.com
I think you are looking for this: https://github.com/tigbro/sencha-touch-angular-adapter


-Jeff

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.


sagw...@gmail.com

unread,
Aug 23, 2013, 3:09:25 AM8/23/13
to ang...@googlegroups.com
Hi Jeff,
were you able to implement the above scenario ? I'm too exploring the same thing, if I can use ExtJS grid with AngularJS framework
Reply all
Reply to author
Forward
0 new messages