Skip to main content
Angular is a platform and framework for building single-page client applications. Meteor provides official support for Angular, combining Angular’s powerful features with Meteor’s real-time data capabilities.
The primary resource for Angular integration with Meteor is the Angular-Meteor site, which provides comprehensive documentation, tutorials, and examples.

Getting Started

Angular-Meteor is maintained as a separate project that provides seamless integration between Angular and Meteor.

Installation

The Angular-Meteor package provides everything needed to build Angular applications with Meteor:

Key Features

Full Stack Reactivity

Automatic data synchronization between client and server

TypeScript Support

First-class TypeScript integration out of the box

RxJS Integration

Reactive data streams with Angular observables

Ionic Support

Build mobile apps with Ionic and Meteor

Project Structure

A typical Angular-Meteor application structure:

Basic Setup

Client Bootstrap

Create /client/main.ts:

App Module

Create /imports/ui/app.module.ts:

Reactive Data

Angular-Meteor provides reactive data integration through RxJS observables.

Using Collections

Subscriptions

Methods and Collections

Authentication

Angular-Meteor integrates with Meteor’s accounts system:

Routing

Use Angular Router with Meteor:

Mobile Development

Build mobile apps with Ionic and Meteor:

Testing

Angular-Meteor supports standard Angular testing:

Best Practices

Take advantage of TypeScript’s type safety for collections and methods:
Use RxJS operators to transform and combine data streams:
Always unsubscribe from observables in ngOnDestroy:
Create Angular services to encapsulate Meteor data operations:

Resources

Angular-Meteor

Official Angular-Meteor documentation and tutorials

GitHub Repository

Source code and examples for Angular-Meteor

Angular Documentation

Official Angular framework documentation

Ionic Framework

Build mobile apps with Ionic and Angular

Community and Support

Stack Overflow

Ask questions with the angular-meteor tag

Meteor Forums

Discuss Angular-Meteor on the Meteor forums