The document discusses AngularDart, which is AngularJS implemented with the Dart programming language. It describes key Angular concepts like dependency injection, controllers, components, directives, filters and services. Components allow defining custom elements, controllers provide application logic, directives add logic to elements, and filters pipe and transform data. Services provide reusable code through dependency injection. The goal is a single framework that can be used with different programming languages like Dart.
24. “
”
#dartlang
Eric Bidelman
Shadow DOM gives us markup encapsulation,
style boundaries, and exposes (to web
developers) the same mechanics browsers
vendors have been using to implement their
internal UI.
Shadow DOM
32. #dartlang
@NgFilter(name: 'categoryfilter')
class CategoryFilter {
call(recipeList, filterMap) {
if (recipeList is List && filterMap is Map) {
// filter for something here
return recipeList.toList();
}
}
}
category_filter.dart
35. Services
#dartlang
!
Services are substitutable objects that are wired together
using dependency injection. You can use services to organize
and share code across your app.
!
!
Angular for example provides a built-in service called the
Http Service that handles making HTTP requests to the
server.
!
!